Driver ‘pcspkr’ is already registered, aborting…

20 Dec

When running Linux inside a virtual machine you may see the following:
Error: Driver 'pcspkr' is already registered, aborting...

To resolve the issue we can simply instruct the kernel not to load the pcspkr module:
[bash]echo blacklist pcspkr >> /etc/modprobe.d/blacklist.conf[/bash]

Just update boot files (with the new configuration):
[bash]update-initramfs -u -k all[/bash]